package test;

import server.*;

/**
 * @author Denis Toikka
 * Main class of MazeNet project.
 */
public class Main {
	
	/**
	 * Keeps communication between client and server.
	 */
	public static Communications server;
	
	/**
	 * Maze with players.
	 */
	public static Game game;
	
	/**
	 * Writes main actions and errors.
	 */
	public static Logger log;
	
	/**
	 * @param args
	 * Main function of project.
	 */
	public static void main(String[] args) {
		log = new Logger();
		game = new Game();
		game.startNewPart();
	}

	/**
	 * @param s
	 * Easy print function.
	 */
	public static void echo(String s) {
		System.out.println(s);
	}

}
